<!doctype html>
<html lang="ko">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0">
<link rel="shortcut icon" type="image/x-icon" href="../assets/favicon.ico">
<title>source\jindo.DataBridge.js - Jindo Component - AjaxUI@NHN</title>
<link rel="stylesheet" type="text/css" href="../assets/prettify/prettify-min.css" media="screen">
<script type="text/javascript">
	var isMobile = (function() {
		var r = window.devicePixelRatio || 1;
		if (/windows phone/i.test(navigator.userAgent)) { r = 2; }
		
		var s = Math.max(screen.width / r, screen.height / r);
		
		var m = s < 1024;
		var href = m ? "api.mobile.css" : "api.css";
		document.write('<link rel="stylesheet" type="text/css" href="../assets/' + href + '" media="screen">');
		
		return m;
	})();
</script>

<script type="text/javascript" src="../assets/jindo.desktop.min.js"></script>
<script type="text/javascript" src="../assets/jindo_component.min.js"></script>
</head>
<body class="api-page">
<div id="wrap" class="api-main"><!-- 2Depth 접기 : lft_fold 추가 -->

	<div id="header">
		<h1><a href="../index.html"><span class="blind">JindoJS</span></a></h1>
		<div class="info">
			<span class="version">version 1.6.0</span>
			<span class="bar">|</span>
			<span class="help"><span class="ic_help"></span><a href="http://devcode.nhncorp.com/projects/jindo-component/issue" target="_blank">버그신고/문의</a></span>
		</div>
		<div class="menu">
			<button type="button" id="toggle_search_btn" class="btn_sch"><span class="blind">검색</span></button>
			<button type="button" id="toggle_list_btn" class="btn_snb btn_snb_on"><span class="blind">메뉴</span></button>
			<!-- [D] 클릭시 btn_sch_on,btn_snb_on 추가 -->
		</div>
	</div>

	<!-- sch_frm -->
	<div class="sch_frm hide_when_small">
		<h2 class="blind">검색</h2>
		<div class="filter">
			<input type="search" id="api-filter" placeholder="검색어를 입력하세요.">
		</div>
		<div id="search-tab" style="display:none;">
			<ul class="tabs">
			<li class="tc-tab">전체</li>
			<li class="tc-tab">키워드</li>
			<li class="tc-tab">클래스</li>
			<li class="tc-tab">메서드</li>
			<li class="tc-tab">프로퍼티</li>
			<li class="tc-tab">이벤트</li>
			</ul>
			<div class="panels">
				<ul id="api-all" class="tc-panel"></ul>
				<ul id="api-keywords" class="tc-panel"></ul>
				<ul id="api-classes" class="tc-panel"></ul>
				<ul id="api-methods" class="tc-panel"></ul>
				<ul id="api-attrs" class="tc-panel"></ul>
				<ul id="api-events" class="tc-panel"></ul>
			</div>

		</div>
	</div>
	<!-- // sch_frm -->

	<!-- container -->
	<div id="container">
		<!-- left-columns -->
		<div id="left-columns" class="sidemenu has_scrollbar">
			<h2 class="blind"><a href="../index.html"><span>APIs</span></a></h2>
<div class="snb depth1 scrollbar hide_when_small">
	<!-- [D] style="width:135px; height:384px; -->
	<div class="scrollbar-box">
		<div class="scrollbar-content">
			<div><ul>
			            <li class="">
			            	<a href="../classes/jindo.Accordion.html" class="">
			                	Accordion
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.AjaxHistory.html" class="">
			                	AjaxHistory
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.BrowseButton.html" class="">
			                	BrowseButton
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.Cache.html" class="">
			                	Cache
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.Calendar.html" class="">
			                	Calendar
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.Canvas.html" class="">
			                	Canvas
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.CheckBox.html" class="">
			                	CheckBox
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.CircularRolling.html" class="">
			                	CircularRolling
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.Clipboard.html" class="">
			                	Clipboard
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.Component.html" class="">
			                	Component
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.DataBridge.html" class="">
			                	DataBridge
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.DatePicker.html" class="">
			                	DatePicker
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.DefaultTextValue.html" class="">
			                	DefaultTextValue
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.Dialog.html" class="">
			                	Dialog
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.DragArea.html" class="">
			                	DragArea
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.DropArea.html" class="">
			                	DropArea
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.DynamicTree.html" class="">
			                	DynamicTree
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.Effect.html" class="">
			                	Effect
								
								

							    
						        
						            <span class="flag static" title="static"><span class="blind">static</span></span>
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.FileUploader.html" class="">
			                	FileUploader
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.FloatingLayer.html" class="">
			                	FloatingLayer
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.Foggy.html" class="">
			                	Foggy
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.Formatter.html" class="">
			                	Formatter
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.HTMLComponent.html" class="">
			                	HTMLComponent
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.InlineTextEdit.html" class="">
			                	InlineTextEdit
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.LayerEffect.html" class="">
			                	LayerEffect
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.LayerManager.html" class="">
			                	LayerManager
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.LayerPosition.html" class="">
			                	LayerPosition
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.LazyLoading.html" class="">
			                	LazyLoading
								
								

							    
						        
						            <span class="flag static" title="static"><span class="blind">static</span></span>
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.ModalDialog.html" class="">
			                	ModalDialog
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.MouseGesture.html" class="">
			                	MouseGesture
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.MultipleAjaxRequest.html" class="">
			                	MultipleAjaxRequest
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.NumberFormatter.html" class="">
			                	NumberFormatter
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.NumericStepper.html" class="">
			                	NumericStepper
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.Pagination.html" class="">
			                	Pagination
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.Rolling.html" class="">
			                	Rolling
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.RollingChart.html" class="">
			                	RollingChart
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.RolloverArea.html" class="">
			                	RolloverArea
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.RolloverClick.html" class="">
			                	RolloverClick
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.ScrollBar.html" class="">
			                	ScrollBar
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.ScrollBox.html" class="">
			                	ScrollBox
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.SelectArea.html" class="">
			                	SelectArea
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.SelectBox.html" class="">
			                	SelectBox
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.Slider.html" class="">
			                	Slider
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.StarRating.html" class="">
			                	StarRating
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.TabControl.html" class="">
			                	TabControl
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.TextRange.html" class="">
			                	TextRange
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.Timer.html" class="">
			                	Timer
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.Transition.html" class="">
			                	Transition
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.Tree.html" class="">
			                	Tree
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.UIComponent.html" class="">
			                	UIComponent
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.UploadQueue.html" class="">
			                	UploadQueue
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.WatchInput.html" class="">
			                	WatchInput
								
								

							    
						        
			            	</a>
			            </li>
			        </ul></div>
		</div>
	</div>
	<div class="scrollbar-v">
		<div class="scrollbar-button-up"></div>
		<div class="scrollbar-track">
			<div class="scrollbar-thumb" style="top: 0px; height: 222px; "></div>
		</div>
		<div class="scrollbar-button-down"></div>
	</div>
</div>


<button type="button" title="펼치기" class="btn_open">바로가기 열기<span class="ic"></span></button>
<button type="button" title="접기" class="btn_close">바로가기 닫기<span class="ic"></span></button>

		</div>
		<!-- // left-columns -->

		<!-- main content -->
		<div id="main">
			<div class="main_fix">
				<div class="content">
	
	<h1 class="blind">source/jindo.DataBridge.js</h1>
	<div class="tc-panel first">
		<dl class="relation">
			<dt>파일명</dt>
			<dd>jindo.DataBridge.js</dd>
			<dt>경로</dt>
			<dd>source/</dd>
		</dl>
		<div id="file" class="file">
		    <pre class="code prettyprint linenums">/**
	@fileOverview&nbsp;Data&nbsp;Bridge&nbsp;Component
	@author&nbsp;TarauS
	@version&nbsp;#__VERSION__#
**/
/**
	jindo.DataBridge&nbsp;컴포넌트는&nbsp;flash를&nbsp;매개체로&nbsp;같은&nbsp;PC내의&nbsp;여러&nbsp;브라우저간에&nbsp;통신을&nbsp;가능하게&nbsp;함.
	
	@class&nbsp;jindo.DataBridge
	@extends&nbsp;jindo.Component
	
	@keyword&nbsp;data,&nbsp;bridge,&nbsp;flash,&nbsp;통신
**/
jindo.DataBridge&nbsp;=&nbsp;jindo.$Class({
	/**&nbsp;@lends&nbsp;jindo.DataBridge.prototype&nbsp;*/
	/**
		이벤트&nbsp;핸들러&nbsp;저장&nbsp;객체
		@type&nbsp;{HashTable}
	**/
	_htEvent&nbsp;:&nbsp;{},
	
	/**
		스태틱&nbsp;메서드&nbsp;저장&nbsp;객체
		@private&nbsp;
	**/
	$static&nbsp;:&nbsp;{
		/**
			플래시에서&nbsp;처리&nbsp;상황을&nbsp;로깅하기&nbsp;위한&nbsp;콜백함수
			
			@method&nbsp;log
			@static
			@param&nbsp;{String}&nbsp;sFlashId&nbsp;메시지를&nbsp;전달할&nbsp;플래시&nbsp;객체의&nbsp;아이디
			@param&nbsp;{String}&nbsp;sMessage&nbsp;로깅&nbsp;메시지
		**/
		log&nbsp;:&nbsp;function(sFlashId,&nbsp;sMessage){
			if(sFlashId&nbsp;&amp;&amp;&nbsp;sMessage){
				this.getComponentInstance(sFlashId)._onLog(sMessage);
			}else{
				alert(&quot;Parameter&nbsp;is&nbsp;wrong!!&quot;);
			}
		},
		
		/**
			다른&nbsp;클라이언트에서&nbsp;온&nbsp;데이터를&nbsp;수신하기&nbsp;위한&nbsp;콜백함수
			
			@method&nbsp;onReceive
			@static
			@param&nbsp;{String}&nbsp;sFlashId&nbsp;데이터를&nbsp;전달할&nbsp;플래시&nbsp;객체의&nbsp;아이디
			@param&nbsp;{String}&nbsp;sSenderId&nbsp;데이터를&nbsp;송신한&nbsp;클라이언트의&nbsp;아이디
			@param&nbsp;{Variant}&nbsp;vData&nbsp;다른&nbsp;클라이언트에서&nbsp;온&nbsp;데이터
		**/
		onReceive&nbsp;:&nbsp;function(sFlashId,&nbsp;sSenderId,&nbsp;vData){
			if(sFlashId&nbsp;&amp;&amp;&nbsp;sSenderId&nbsp;&amp;&amp;&nbsp;vData){
				this.getComponentInstance(sFlashId)._onReceiveData(sSenderId,&nbsp;vData);
			}else{
				alert(&quot;Parameter&nbsp;is&nbsp;wrong!!&quot;);
			}
		},
		
		/**
			플래시&nbsp;객체에&nbsp;해당하는&nbsp;인스턴스를&nbsp;찾아서&nbsp;리턴함
			
			@method&nbsp;getComponentInstance
			@static
			@param&nbsp;{String}&nbsp;sFlashId&nbsp;문서에&nbsp;삽입된&nbsp;플래시&nbsp;객체의&nbsp;아이디
			@return&nbsp;{jindo.DataBridge}&nbsp;sFlashId에&nbsp;해당하는&nbsp;플래시를&nbsp;사용하는&nbsp;DataBridge&nbsp;인스턴스
		**/
		getComponentInstance&nbsp;:&nbsp;function(sFlashId){
			var&nbsp;aInstanceList&nbsp;=&nbsp;this._aInstances;
			for(var&nbsp;i=0;&nbsp;i&lt;aInstanceList.length;&nbsp;i++){
				if(sFlashId&nbsp;==&nbsp;aInstanceList[i].getFlashObjectId()){
					return&nbsp;aInstanceList[i];
				}
			}
		}
	},
	
	/**
		@constructor
		@param&nbsp;{Object}&nbsp;[htOption]&nbsp;초기화&nbsp;옵션&nbsp;객체
			@param&nbsp;{String}&nbsp;[htOption.sSwfPath=&quot;data_bridge.swf&quot;]&nbsp;플래시&nbsp;파일&nbsp;경로
			@param&nbsp;{Number}&nbsp;[htOption.nRetryLimit=3]&nbsp;flashvars로&nbsp;전달할&nbsp;retryLimit
		@example
			var&nbsp;oDataBridge&nbsp;=&nbsp;new&nbsp;jindo.DataBridge({
				&quot;sServiceId&quot;&nbsp;:&nbsp;&quot;deskhome&quot;,
				&quot;nRetryCount&quot;&nbsp;:&nbsp;3
			});
			
			oDataBridge.attach(&quot;receive&quot;,&nbsp;function(oCustomEvent){
				console.log(oCustomEvent.vData);
			});
	**/
	$init&nbsp;:&nbsp;function(htOption){
		this.option({
			&quot;sSwfPath&quot;&nbsp;:&nbsp;&quot;data_bridge.swf&quot;,
			&quot;nRetryLimit&quot;&nbsp;:&nbsp;3
		});
		this.option(htOption);
		this._attachEvent();
		this._createFlashObject();
		
		(this.constructor._aInstances&nbsp;=&nbsp;this.constructor._aInstances&nbsp;||&nbsp;[]).push(this);
	},
	
	/**
		이벤트&nbsp;핸들러&nbsp;등록
	**/
	_attachEvent&nbsp;:&nbsp;function(){
		this._htEvent[&quot;beforeunload&quot;]&nbsp;=&nbsp;jindo.$Fn(this.destroy,&nbsp;this).attach(window,&nbsp;&quot;beforeunload&quot;);
	},
	
	/**
		클라이언트들과&nbsp;통신을&nbsp;담당할&nbsp;플래시&nbsp;객체를&nbsp;동적으로&nbsp;생성
	**/
	_createFlashObject&nbsp;:&nbsp;function(){
		this._sFlashId&nbsp;=&nbsp;&#39;data_bridge_&#39;+(new&nbsp;Date()).getMilliseconds()+Math.floor(Math.random()*100000);
		var&nbsp;welFlashContainer&nbsp;=&nbsp;jindo.$Element(&#39;&lt;div&nbsp;style=&quot;position:absolute;top:-1000px;left:0px&quot;&gt;&#39;);
		var&nbsp;sFlashVars&nbsp;=&nbsp;&quot;serviceId=&quot;+this.option(&quot;sServiceId&quot;)+&quot;&amp;logHandler=jindo.DataBridge.log&amp;onReceiveHandler=jindo.DataBridge.onReceive&amp;flashId=&quot;+this._sFlashId+&quot;&amp;retryLimit=&quot;+this.option(&quot;nRetryLimit&quot;);
		welFlashContainer.appendTo(document.body);
		welFlashContainer.html(&#39;&lt;object&nbsp;id=&quot;&#39;+this._sFlashId+&#39;&quot;&nbsp;width=&quot;1&quot;&nbsp;height=&quot;1&quot;&nbsp;classid=&quot;clsid:d27cdb6e-ae6d-11cf-96b8-444553540000&quot;&nbsp;codebase=&quot;http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0&quot;&gt;&lt;param&nbsp;name=&quot;flashvars&quot;&nbsp;value=&quot;&#39;+sFlashVars+&#39;&quot;&gt;&lt;param&nbsp;name=&quot;movie&quot;&nbsp;value=&quot;&#39;+this.option(&quot;sSwfPath&quot;)+&#39;&quot;&gt;&lt;param&nbsp;name&nbsp;=&nbsp;&quot;allowScriptAccess&quot;&nbsp;value&nbsp;=&nbsp;&quot;always&quot;&nbsp;/&gt;&lt;embed&nbsp;name=&quot;&#39;+this._sFlashId+&#39;&quot;&nbsp;src=&quot;&#39;+this.option(&quot;sSwfPath&quot;)+&#39;&quot;&nbsp;flashvars=&quot;&#39;+sFlashVars+&#39;&quot;&nbsp;type=&quot;application/x-shockwave-flash&quot;&nbsp;pluginspage=&quot;http://www.macromedia.com/go/getflashplayer&quot;&nbsp;width=&quot;1&quot;&nbsp;height=&quot;1&quot;&nbsp;allowScriptAccess=&quot;always&quot;&nbsp;swLiveConnect=&quot;true&quot;&gt;&lt;/embed&gt;&lt;/object&gt;&#39;);
	},
	
	/**
		클라이언트들과&nbsp;통신을&nbsp;담당하기&nbsp;위해&nbsp;문서에&nbsp;삽입된&nbsp;플래시&nbsp;객체를&nbsp;리턴
		
		@return&nbsp;{Element}&nbsp;플래시&nbsp;객체
	**/
	_getFlashObject&nbsp;:&nbsp;function(){
		return&nbsp;document[this._sFlashId]&nbsp;||&nbsp;jindo.$(this._sFlashId);
	},
	
	/**
		클라이언트들과&nbsp;통신을&nbsp;담당할&nbsp;플래시&nbsp;객체의&nbsp;엘리먼트&nbsp;아이디를&nbsp;리턴
		
		@method&nbsp;getFlashObjectId
		@return&nbsp;{String}&nbsp;플래시&nbsp;객체의&nbsp;엘리먼트&nbsp;아이디
	**/
	getFlashObjectId&nbsp;:&nbsp;function(){
		return&nbsp;this._sFlashId;
	},
	
	/**
		클라이언트&nbsp;아이디를&nbsp;리턴
		
		@method&nbsp;getClientId
		@return&nbsp;{String}&nbsp;클라이언트&nbsp;아이디
	**/
	getClientId&nbsp;:&nbsp;function(){
		return&nbsp;this.option(&quot;sServiceId&quot;)+&quot;_&quot;+this._sFlashId;
	},
	
	/**
		다른&nbsp;클라이언트들에게&nbsp;vData를&nbsp;전달
		
		@method&nbsp;send
		@param&nbsp;{Variant}&nbsp;vData&nbsp;전달할&nbsp;데이터
		@return&nbsp;{this}&nbsp;DataBridge&nbsp;인스턴스&nbsp;자신
		@remark&nbsp;클래스&nbsp;인스턴스&nbsp;생성&nbsp;후,&nbsp;플래시&nbsp;객체가&nbsp;문서에&nbsp;삽입되기까지&nbsp;시간이&nbsp;걸리기에,&nbsp;send&nbsp;메서드는&nbsp;특정&nbsp;시간&nbsp;이후에&nbsp;사용해야&nbsp;함
	**/
	send&nbsp;:&nbsp;function(vData){
		if(vData){
			try{
				this._getFlashObject().send(vData);
			}catch(e){
				alert(&quot;Flash&nbsp;object&nbsp;is&nbsp;not&nbsp;ready!!&quot;);
			}
		}else{
			alert(&quot;vData&nbsp;parameter&nbsp;is&nbsp;null!!&quot;);	
		}
		return&nbsp;this;
	},
	
	/**
		다른&nbsp;클라이언트로부터&nbsp;데이터를&nbsp;수신했을&nbsp;때,&nbsp;수행될&nbsp;콜백&nbsp;함수
		
		@param&nbsp;{String}&nbsp;sSenderId&nbsp;데이터를&nbsp;송신한&nbsp;클라이언트의&nbsp;아이디
		@param&nbsp;{Variant}&nbsp;vData&nbsp;전달받은&nbsp;데이터
		@remark&nbsp;데이터&nbsp;수신&nbsp;후,&nbsp;receive라는&nbsp;사용자&nbsp;이벤트를&nbsp;발생&nbsp;시킴
	**/
	_onReceiveData&nbsp;:&nbsp;function(sSenderId,&nbsp;vData){
		this.fireEvent(&quot;receive&quot;,&nbsp;{
			&quot;sSenderId&quot;&nbsp;:&nbsp;sSenderId,
			&quot;vData&quot;&nbsp;:&nbsp;vData
		});
	},
	
	/**
		플래시&nbsp;내에서의&nbsp;처리&nbsp;상황을&nbsp;로깅하기&nbsp;위한&nbsp;콜백&nbsp;함수
		
		@param&nbsp;{String}&nbsp;sMessage&nbsp;로깅&nbsp;메시지
	**/
	_onLog&nbsp;:&nbsp;function(sMessage){
		this.fireEvent(&quot;log&quot;,&nbsp;{
			&quot;sMessage&quot;&nbsp;:&nbsp;sMessage
		});
	},
	
	/**
		다른&nbsp;클라이언트들과의&nbsp;로컬&nbsp;연결을&nbsp;해제&nbsp;함
	**/
	_close&nbsp;:&nbsp;function(){
		this._getFlashObject().close();
	},
	
	/**
		이벤트&nbsp;핸들러&nbsp;해제
	**/
	_detachEvent&nbsp;:&nbsp;function(){
		this._htEvent[&quot;beforeunload&quot;].detach(window,&nbsp;&quot;beforeunload&quot;);
	},
	
	getLocalData&nbsp;:&nbsp;function(){
		
	},
	
	setLocalData&nbsp;:&nbsp;function(){
		
	},
	
	resetLocalData&nbsp;:&nbsp;function(){
		
	},
	
	/**
		모듈&nbsp;소멸자
		
		@method&nbsp;destroy
	**/
	destroy&nbsp;:&nbsp;function(){
		this._close();
		this._detachEvent();
		this._htEvent&nbsp;=&nbsp;{};
		jindo.$Element(this._getFlashObject()).leave();
		
		var&nbsp;aInstances&nbsp;=&nbsp;this.constructor._aInstances&nbsp;||&nbsp;[];
		var&nbsp;nIndex&nbsp;=&nbsp;jindo.$A(aInstances).indexOf(this);
		
		if&nbsp;(nIndex&nbsp;&gt;&nbsp;-1)&nbsp;{&nbsp;aInstances.splice(nIndex,&nbsp;1);&nbsp;}
	}
}).extend(jindo.Component);</pre>
		</div>
	</div>
</div>

			</div>
		</div>
		<!-- // main content -->

	</div>
	<!-- // container -->

	<!-- footer -->
	<div id="footer">
		<p>Copyright ©<a href="http://nhncorp.com/" target="_blank">NHN Corp.</a> Platform Ajax Team. All Rights Reserved.</p>
	</div>
	<!-- // footer -->

</div>
<!-- // wrap -->

<style type="text/css">

	.item {
		transition:background .2s linear;
		-webkit-transition:background .2s linear;
		-moz-transition:background .2s linear;
		-o-transition:background .2s linear;
		-ms-transition:background .2s linear;
	}
	
	.highlight {
		background-color:#ffffd8 !important;
	}
	
	li.selected a.highlight {
		background-color:#aa8 !important;
	}
	
	.hide-deprecated .deprecated-item, .hide-inherited .inherited-item, .private {
		display:none;
	}
	
	.scrollbar-v, .scrollbar-h { display:none; }
	.scrollbar-show { display:block; }
	
	.api-page .tbl_fold .more_history { display:none; }
	
	/* FILE */
	.file pre.code {
		border:1px solid #ccc;
		padding:0;
	}
	
	.file ol {
		padding-left: 4em;
		background-color: #f9f9f9;
	}

	.file ol li {
		list-style: decimal;
		border-left:1px solid #ccc;
		padding:2px 4px;
	}
	
	.file li.L1, .file li.L3, .file li.L5, .file li.L7, .file li.L9 {
		background-color: #f9f9f9;	
	}

	.file li.L0, .file li.L2, .file li.L4, .file li.L6, .file li.L8 { 
		background-color: #f0f0f0;
	}
	
</style>
<script type="text/javascript" src="../assets/prettify/prettify-min.js"></script>
<script type="text/javascript" src="../assets/hash.js"></script>
<script type="text/javascript" src="../assets/api-list.js"></script>
<script type="text/javascript" src="../assets/api-search.js"></script>
<script type="text/javascript" src="../assets/../api.js?callback=APISearch.setData"></script>
<script type="text/javascript">
	var projectRoot = "../";
	var projectAssets = "../assets";
	
    apiDocs(projectAssets);	
</script>
</body>
</html>